
import openpyxl

wb = openpyxl.load_workbook('./a.xlsx')
# print(wb.sheetnames)
ws = wb.active

for i in range(1, ws.max_row+1):
    print(ws[f'A{i}'].value, end=' ')
    print(ws[f'B{i}'].value, end=' ')
    print(ws[f'C{i}'].value, end=' ')
    print(ws[f'D{i}'].value)
